//
//  MainViewController.h
//  iPhoneKML
//
//  Created by Benjamin Blundell on 10/11/2009.
//  Copyright 2009 Section9. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MyMapViewController;

@protocol MyMapViewControllerDelegate <NSObject>
@required
// This method will be invoked when the user selects one of the MyMaps from the list.
// REPLACED: The nsinteger with an NSString* as thats what the master dictionary keys off

- (void) myMapViewController:(MyMapViewController*)mmvc didSelectMap:(NSString*)mapname;

@end


@interface MyMapViewController : UITableViewController <UITableViewDataSource, UITableViewDelegate> {
		
	// Table Data container
	//NSMutableDictionary					*tableMapData;
	NSArray								*tableMapData; //replaced to make it better! :P
	id<MyMapViewControllerDelegate>		delegate;
}

//@property (nonatomic,retain) NSMutableDictionary		*tableMapData;
@property (nonatomic,retain) NSArray					*tableMapData;
@property (nonatomic,retain) id							delegate;
@end
